import request from '@/utils/request'

// 查询水印列表
export function listYqSy(query) {
  return request({
    url: '/manage/yqSy/list',
    method: 'get',
    params: query
  })
}

// 查询水印详细
export function getYqSy(ID) {
  return request({
    url: '/manage/yqSy/' + ID,
    method: 'get'
  })
}

// 新增水印
export function addYqSy(data) {
  return request({
    url: '/manage/yqSy/add',
    method: 'post',
    data: data
  })
}

// 修改水印
export function updateYqSy(data) {
  return request({
    url: '/manage/yqSy/edit',
    method: 'put',
    data: data
  })
}

// 修改水印启用状态
export function updateYQSYeditStatus(data) {
  return request({
    url: '/manage/yqSy/editStatus',
    method: 'put',
    data: data
  })
}

// 删除水印
export function delYqSy(ID) {
  return request({
    url: '/manage/yqSy/' + ID,
    method: 'delete'
  })
}
